Skip to content

fix: improve standup media and live room emoji inputs#6038

Merged
idoshamun merged 1 commit into
mainfrom
codex/standup-media-permissions-and-emoji-picker
May 12, 2026
Merged

fix: improve standup media and live room emoji inputs#6038
idoshamun merged 1 commit into
mainfrom
codex/standup-media-permissions-and-emoji-picker

Conversation

@idoshamun
Copy link
Copy Markdown
Member

@idoshamun idoshamun commented May 12, 2026

What changed

  • added a best-effort combined media-permission preflight in LiveRoomContext and invoked it before Ask to speak, Join as speaker, and Go live so browsers can request camera and microphone access together
  • enabled the live-room chat composer emoji command and moved EmojiPicker dropdown rendering through RootPortal, with outside-click handling and tests updated for the portaled dropdown
  • updated shared live-room and emoji picker tests to cover the new permission-preflight and portal behavior

Why

Turning on camera and microphone separately in standups caused two permission prompts. The new preflight asks once at the stage-entry moment while keeping the existing toggle-level permission checks as a fallback.

The emoji picker changes keep the dropdown usable when rendered above surrounding overlays and restore emoji insertion in the live-room chat composer.

Impact

Hosts, moderated participants joining the queue, and free-for-all participants joining the stage should now see a single combined browser permission prompt in the common path to speaking. Live-room emoji pickers now render through the root portal and their tests match the real DOM structure.

Validation

  • node ./scripts/typecheck-strict-changed.js
  • NODE_ENV=test pnpm --filter shared test -- LiveRoomControls.spec.tsx LiveRoomContext.spec.tsx
  • NODE_ENV=test pnpm --filter shared test -- EmojiPicker.spec.tsx LiveRoom.spec.tsx

Preview domain

https://codex-standup-media-permissions.preview.app.daily.dev

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 12, 2026 1:01pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 12, 2026 1:01pm

Request Review

@idoshamun idoshamun marked this pull request as ready for review May 12, 2026 13:01
@idoshamun idoshamun merged commit 49c2797 into main May 12, 2026
14 checks passed
@idoshamun idoshamun deleted the codex/standup-media-permissions-and-emoji-picker branch May 12, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant